#include "XDiagnostics.h"
//#include "Log.h"

QMap<QString, int> XDiagnostics::m_deletes;

QMap<QString, int> XDiagnostics::m_news;


void XDiagnostics::Delete(QString name)
{
    Log::XDelete(QString("%1 %2").arg(name).arg(++m_deletes[name]));
}

void XDiagnostics::New(QString name)
{
	
    Log::XNew(QString("%1 %2").arg(name).arg(++m_news[name]));
}
